<!--
 * @Author: zhang ke
 * @Date: 2025-06-21 16:08:27
 * @LastEditors: your name
 * @LastEditTime: 2025-07-05 15:14:12
 * @Description: 
 * @FilePath: \vue3-admin\src\views\404\index.vue
-->
<template>
  <div class="box">
    <div class="wrapper">
          <img src="../../assets/image//error_images/404.png" alt="" />
          <div>
             <el-button class="btn" type="primary" @click="goHome">首页</el-button>
          </div>
         
    </div>

  </div>
</template>
<script lang="ts" setup name="Home">
import { useRouter } from 'vue-router'
let $router = useRouter()
const goHome = () => {
  $router.push('/home')
}
</script>
<style scoped lang="scss">
.box {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  .wrapper{
    width:900px;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    img {
    width: 800px;
    height: 400px;
  }

  .btn {
    width: 50px;
    height: 50px;
  }
  }

}
</style>
